home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / safebrowsing / warning-overlay.xul < prev   
Extensible Markup Language  |  2006-09-22  |  5KB  |  129 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- This css and dtd are for the phishing warning message -->
  4.  
  5. <?xml-stylesheet
  6.  href="chrome://browser/skin/safebrowsing/browser-protection.css" 
  7.  type="text/css" ?>
  8. <!DOCTYPE window [
  9. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  10. %brandDTD;
  11. <!ENTITY % safebrowsingDTD SYSTEM "chrome://browser/locale/safebrowsing/phishing-afterload-warning-message.dtd">
  12. %safebrowsingDTD;
  13. ]>
  14.  
  15. <overlay id="safebrowsing-overlay"
  16.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  17.  
  18.   <window id="main-window">
  19.     <!-- This is the spike aka tail on top of the warning -->
  20.  
  21.     <hbox id="safebrowsing-palm-message-tail-container" hidden="true" 
  22.      pack="end">
  23.       <image id="safebrowsing-palm-message-tail"
  24.       src="chrome://browser/skin/safebrowsing/tail.png" />
  25.     </hbox>
  26.  
  27.     <!-- This is the phishing afterload warning message -->
  28.  
  29.     <vbox id="safebrowsing-palm-message" hidden="true" pack="center"
  30.     class="safebrowsing-palm-fixed-width">
  31.  
  32.       <!-- This is the main warning area -->
  33.  
  34.       <vbox id="safebrowsing-palm-message-content" 
  35.       class="safebrowsing-palm-fixed-width"
  36.       style="-moz-user-focus: normal"
  37.       xmlns:x2="http://www.w3.org/TR/xhtml2"
  38.       xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
  39.       x2:role="wairole:alert">
  40.  
  41.         <hbox id="safebrowsing-palm-close-container"
  42.         align="center" class="safebrowsing-palm-fixed-width">
  43.           <spacer flex="1" />
  44.           <image
  45.           id="safebrowsing-palm-close"
  46.           onclick="goDoCommand('safebrowsing-decline-warning')" />
  47.         </hbox>
  48.  
  49.         <!-- Top line -->
  50.         <description id="safebrowsing-palm-message-titlebox"
  51.         class="safebrowsing-palm-fixed-width">
  52.           &safeb.palm.warning.title;
  53.         </description>
  54.  
  55.  
  56.         <!-- Content area: short warning -->
  57.  
  58.         <description id="safebrowsing-palm-content" 
  59.           class="safebrowsing-paragraph">
  60.           &safeb.palm.message.p1; 
  61.           <label class="text-link plain"
  62.             statustext="&safeb.palm.p1.linkStatusText;"
  63.             id="safebrowsing-palm-showmore-link"
  64.             onclick="goDoCommand('safebrowsing-palm-showmore'); document.getElementById('safebrowsing-palm-faq-link').focus()"
  65.             value="&safeb.palm.message.p1.linkText;" />
  66.         </description>
  67.  
  68.         <!-- Content area: rest of the warning, revealed if the user
  69.              hits the more link -->
  70.  
  71.         <vbox id="safebrowsing-palm-extended-message" hidden="true"
  72.           class="safebrowsing-palm-fixed-width">
  73.           <description class="safebrowsing-palm-paragraph">
  74.             &safeb.palm.message.p2.start;
  75.             <label class="text-link plain"
  76.               id="safebrowsing-palm-faq-link"
  77.               value="&safeb.palm.message.p2.linkText;" />
  78.             &safeb.palm.message.p2.end;
  79.           </description>
  80.         </vbox>
  81.  
  82.         <!-- Main action links -->
  83.         <description id="safebrowsing-palm-message-actionbox"
  84.          class="safebrowsing-palm-fixed-width"
  85.          align="center" crop="none">
  86.          <label
  87.            class="safebrowsing-palm-bigtext text-link plain"
  88.            statustext="&safeb.palm.accept.statustext;"
  89.            id="safebrowsing-palm-accept-link"
  90.            onclick="goDoCommand('safebrowsing-accept-warning')"
  91.            value="&safeb.palm.accept.label;" />
  92.          <spacer flex="1"/>
  93.          <label
  94.            class="safebrowsing-palm-bigtext text-link plain"
  95.            statustext="&safeb.palm.decline.statustext;"
  96.            id="safebrowsing-palm-decline-link"
  97.            onclick="goDoCommand('safebrowsing-decline-warning')"
  98.            value="&safeb.palm.decline.label;" />
  99.         </description>
  100.  
  101.         <!-- Footer -->
  102.  
  103.         <hbox align="center" class="safebrowsing-palm-fixed-width">
  104.           <!-- a branding logo could be added here
  105.           <image id="safebrowsing-palm-logo"
  106.           tooltiptext="&safeb.palm.provider.logo.tooltip;"
  107.           src="chrome://browser/skin/safebrowsing/logo.png" />
  108.           -->
  109.           <spacer flex="1" />
  110.           <description>
  111.             [
  112.             <label id="safebrowsing-palm-falsepositive-link"
  113.               class="safebrowsing-palm-smalltext text-link plain"
  114.               value="&safeb.palm.notforgery.label;" />
  115.             ]
  116.           </description>
  117.         </hbox>
  118.       </vbox>
  119.     </vbox>
  120.  
  121.     <!-- The canvas goes here, but since it takes up so much memory and is
  122.          rarely used, we add and remove it dynamically -->
  123.  
  124.     <!-- This dims out the browser content -->
  125.     <vbox id="safebrowsing-dim-area-canvas" hidden="true">
  126.     </vbox>
  127.   </window>
  128. </overlay>
  129.